//
//  SelectNameCell.swift
//  Exchange
//
//  Created by 孟祥群 on 2018/7/27.
//  Copyright © 2018年 common. All rights reserved.
//

import UIKit

class SelectNameCell: BaseTableViewCell {

    override func setUpUI() {
        super.setUpUI()
//        self.isUserInteractionEnabled = false
     
        self.setArrowImage()
    }
    
    func changeColor(isHaveContent:Bool) {
        if !isHaveContent {
            if ThemeManager.default.currentThemeMode() == .night {
                self.nameLabel.textColor = UIColor(hexStr: "#616979")
            }else {
                self.nameLabel.textColor = UIColor(hexStr: "#b1b2b2")
            }
        }else {
            self.nameLabel.themeTextColor  = ThemeManager.ThemeColorKeys.text1
        }
    }
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }

}
